home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
g_man
/
cat3
/
OpenGL-GLC
/
glcgetfontlistc.z
/
glcgetfontlistc
Wrap
Text File
|
1998-10-20
|
4KB
|
67 lines
ggggllllccccGGGGeeeettttFFFFoooonnnnttttLLLLiiiissssttttcccc((((3333GGGG)))) OOOOppppeeeennnnGGGGLLLL CCCChhhhaaaarrrraaaacccctttteeeerrrr RRRReeeennnnddddeeeerrrreeeerrrr ggggllllccccGGGGeeeettttFFFFoooonnnnttttLLLLiiiissssttttcccc((((3333GGGG))))
NNNNAAAAMMMMEEEE
ggggllllccccGGGGeeeettttFFFFoooonnnnttttLLLLiiiissssttttcccc - return an attribute of a font
CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
const GLCchar* ggggllllccccGGGGeeeettttFFFFoooonnnnttttLLLLiiiissssttttcccc( GLint _i_n_F_o_n_t,
GLCenum _i_n_A_t_t_r_i_b,
GLint _i_n_I_n_d_e_x )
PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
_i_n_F_o_n_t Specifies a font.
_i_n_A_t_t_r_i_b Specifies the string list from which a string is requested.
_i_n_I_n_d_e_x Specifies the offset from the first element of the list
associated with _i_n_A_t_t_r_i_b.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
ggggllllccccGGGGeeeettttFFFFoooonnnnttttLLLLiiiissssttttcccc returns an attribute of _i_n_F_o_n_t that's a string from a
string list identified by _i_n_A_t_t_r_i_b. The command returns the string at
offset _i_n_I_n_d_e_x from the first element in _i_n_A_t_t_r_i_b. For example, if _i_n_F_o_n_t
has a face list (Regular, Bold, Italic) and _i_n_I_n_d_e_x is 2, then
ggggllllccccGGGGeeeettttFFFFoooonnnnttttLLLLiiiissssttttcccc returns Italic if you query for GGGGLLLLCCCC____FFFFAAAACCCCEEEE____LLLLIIIISSSSTTTT.
Every GLC state variable that is a list has an associated integer element
count whose value is the number of elements in the list.
Below are the string list attributes associated with each GLC master and
font and their element count attributes:
String list attribute Element count
GGGGLLLLCCCC____CCCCHHHHAAAARRRR____LLLLIIIISSSSTTTT GGGGLLLLCCCC____CCCCHHHHAAAARRRR____CCCCOOOOUUUUNNNNTTTT
GGGGLLLLCCCC____FFFFAAAACCCCEEEE____LLLLIIIISSSSTTTT GGGGLLLLCCCC____FFFFAAAACCCCEEEE____CCCCOOOOUUUUNNNNTTTT
EEEERRRRRRRROOOORRRRSSSS
GGGGLLLLCCCC____PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR____EEEERRRRRRRROOOORRRR is generated if _i_n_F_o_n_t is not the ID of a font.
GGGGLLLLCCCC____PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR____EEEERRRRRRRROOOORRRR is generated if _i_n_I_n_d_e_x is less than zero or is
greater than or equal to the value of the list's element count.
GGGGLLLLCCCC____SSSSTTTTAAAATTTTEEEE____EEEERRRRRRRROOOORRRR is generated if the issuing thread has no current GLC
context.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
ggggllllccccGGGGeeeettttFFFFoooonnnnttttcccc, ggggllllccccGGGGeeeettttFFFFoooonnnnttttiiii
PPPPaaaaggggeeee 1111